123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- namespace PMS.EntityModels.Channel
- {
- using QWPlatform.DataIntface.Database;
- using QWPlatform.Models;
- using System;
- /// <summary>
- /// 创建者:冉利
- /// 创建日期:2018/12/10
- /// 功能描述:渠道信息实体
- /// </summary>
- [Table("渠道信息")]
- public class ChannelModel : DataModelBase
- {
- /// <summary>
- /// Initializes a new instance of the <see cref="ChannelModel"/> class.
- /// </summary>
- public ChannelModel()
- {
- }
- //数据工厂直接操作实体
- /// <summary>
- /// Initializes a new instance of the <see cref="ChannelModel"/> class.
- /// </summary>
- /// <param name="factory">The factory<see cref="DataFactory"/></param>
- public ChannelModel(DataFactory factory) : base(factory)
- {
- }
- /// <summary>
- /// Gets or sets the ID
- /// 渠道ID
- /// </summary>
- [FieldBase("ID", "", "", true, false, "", 36, 0, "VARCHAR2")]
- public string ID { get; set; }
- /// <summary>
- /// Gets or sets the code
- /// 编码
- /// </summary>
- [FieldBase("编码", "", "", true, false, "", 5, 0, "VARCHAR2")]
- public string code { get; set; }
- /// <summary>
- /// Gets or sets the name
- /// 名称
- /// </summary>
- [FieldBase("名称", "", "", true, false, "", 20, 0, "VARCHAR2")]
- public string name { get; set; }
- /// <summary>
- /// Gets or sets the brevitycode
- /// 简码
- /// </summary>
- [FieldBase("简码", "", "", true, false, "", 30, 0, "VARCHAR2")]
- public string brevitycode { get; set; }
- /// <summary>
- /// Gets or sets the nature
- /// 性质
- /// </summary>
- [FieldBase("性质", "基础编码的团队性质", "", true, false, "", 1, 0, "VARCHAR2")]
- public string nature { get; set; }
- /// <summary>
- /// Gets or sets the startdate
- /// 开始日期
- /// </summary>
- [FieldBase("开始日期", "", "", true, false, "", 7, 0, "DATE")]
- public DateTime startdate { get; set; }
- /// <summary>
- /// Gets or sets the endtime
- /// 终止日期
- /// </summary>
- [FieldBase("终止日期", "", "", false, false, "", 7, 0, "DATE")]
- public string endtime { get; set; }
- /// <summary>
- /// Gets or sets the phonenumber
- /// 电话
- /// </summary>
- [FieldBase("电话", "", "", false, false, "", 20, 0, "VARCHAR2")]
- public string phonenumber { get; set; }
- /// <summary>
- /// Gets or sets the business
- /// 商务联系人
- /// </summary>
- [FieldBase("商务联系人", "", "", false, false, "", 30, 0, "VARCHAR2")]
- public string business { get; set; }
- /// <summary>
- /// Gets or sets the technology
- /// 技术联系人
- /// </summary>
- [FieldBase("技术联系人", "", "", false, false, "", 30, 0, "VARCHAR2")]
- public string technology { get; set; }
- /// <summary>
- /// Gets or sets the address
- /// 地址
- /// </summary>
- [FieldBase("地址", "", "", false, false, "", 200, 0, "VARCHAR2")]
- public string address { get; set; }
- /// <summary>
- /// Gets or sets the note
- /// 备注
- /// </summary>
- [FieldBase("备注", "", "", false, false, "", 200, 0, "VARCHAR2")]
- public string note { get; set; }
- /// <summary>
- /// Gets or sets the state
- /// 状态
- /// </summary>
- [FieldBase("状态", "1正常 0终止", "", true, false, "", 1, 0, "NUMBER")]
- public int state { get; set; }
- /// <summary>
- /// Gets or sets the businessMail
- /// 商务联系人邮箱
- /// </summary>
- [FieldBase("商务联系人邮箱", "", "", false, false, "", 200, 0, "VARCHAR2")]
- public string businessMail { get; set; }
- /// <summary>
- /// Gets or sets the businessWxin
- /// 商务联系人微信
- /// </summary>
- [FieldBase("商务联系人微信", "", "", false, false, "", 200, 0, "VARCHAR2")]
- public string businessWxin { get; set; }
- /// <summary>
- /// Gets or sets the technologyMail
- /// 技术联系人邮箱
- /// </summary>
- [FieldBase("技术联系人邮箱", "", "", false, false, "", 200, 0, "VARCHAR2")]
- public string technologyMail { get; set; }
- /// <summary>
- /// Gets or sets the technologyWxin
- /// 技术联系人微信
- /// </summary>
- [FieldBase("技术联系人微信", "", "", false, false, "", 200, 0, "VARCHAR2")]
- public string technologyWxin { get; set; }
- }
- }
|