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