1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- namespace PMS.EntityModels.BaseCode
- {
- using QWPlatform.DataIntface.Database;
- using QWPlatform.Models;
- /// <summary>
- /// 测试实体类
- /// </summary>
- public class BaseCodeModel : DataModelBase
- {
- //默认不带数据工厂构造
- /// <summary>
- /// Initializes a new instance of the <see cref="BaseCodeModel"/> class.
- /// </summary>
- public BaseCodeModel()
- {
- }
- //带有数据工厂的实例化,可以直接操作数据
- /// <summary>
- /// Initializes a new instance of the <see cref="BaseCodeModel"/> class.
- /// </summary>
- /// <param name="factory">The factory<see cref="DataFactory"/></param>
- public BaseCodeModel(DataFactory factory)
- : base(factory)
- {
- }
- /// <summary>
- /// Gets or sets the ID
- /// </summary>
- [FieldBase("ID", "", "", true, false, "", 36, 0, "VARCHAR2")]
- public string ID { get; set; }
- /// <summary>
- /// Gets or sets the SJID
- /// </summary>
- [FieldBase("上级ID", "", "", false, false, "", 36, 0, "VARCHAR2")]
- public string SJID { get; set; }
- /// <summary>
- /// Gets or sets the FLID
- /// </summary>
- [FieldBase("分类ID", "", "", false, false, "", 36, 0, "VARCHAR2")]
- public string FLID { get; set; }
- /// <summary>
- /// Gets or sets the DM
- /// </summary>
- [FieldBase("代码", "", "", false, false, "", 16, 0, "VARCHAR2")]
- public string DM { get; set; }
- /// <summary>
- /// Gets or sets the XSM
- /// </summary>
- [FieldBase("显示名", "", "", false, false, "", 50, 0, "VARCHAR2")]
- public string XSM { get; set; }
- /// <summary>
- /// Gets or sets the SFMR
- /// </summary>
- [FieldBase("是否默认", "(1、是 0、否)", "", false, false, "", 1, 0, "NUMBER")]
- public int? SFMR { get; set; }
- /// <summary>
- /// Gets or sets the QY
- /// </summary>
- [FieldBase("启用", "(1、是 0、否)", "", false, false, "", 1, 0, "NUMBER")]
- public int? QY { get; set; }
- /// <summary>
- /// Gets or sets the KZ
- /// </summary>
- [FieldBase("扩展", "", "", false, false, "", 20, 0, "VARCHAR2")]
- public string KZ { get; set; }
- /// <summary>
- /// Gets or sets the SM
- /// </summary>
- [FieldBase("说明", "", "", false, false, "", 200, 0, "VARCHAR2")]
- public string SM { get; set; }
- }
- }
|