You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
2.7 KiB
C#

using Estsh.Core.Base;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
namespace Estsh.Core.Models
{
/// <summary>
/// ,数据实体对象
/// </summary>
[Table("g_roll")]
[Serializable]
public class GRoll : BaseEntity
{
[Column("ruid")]
[DisplayName(" ")]
public int Ruid { get; set; }
[Column("factory_id")]
[DisplayName(" ")]
public int? FactoryId { get; set; }
[Column("terminal_id")]
[DisplayName(" ")]
public int? TerminalId { get; set; }
[Column("cust_pdline_id")]
[DisplayName(" ")]
public int? CustPdlineId { get; set; }
[Column("roll_no")]
[DisplayName(" ")]
public string RollNo { get; set; }
[Column("roll_name")]
[DisplayName(" ")]
public string RollName { get; set; }
[Column("roll_type")]
[DisplayName(" ")]
public int RollType { get; set; }
[Column("max_qty")]
[DisplayName(" ")]
public int MaxQty { get; set; }
[Column("min_qty")]
[DisplayName(" ")]
public int? MinQty { get; set; }
[Column("qty")]
[DisplayName(" ")]
public int? Qty { get; set; }
[Column("alarm_addr")]
[DisplayName(" ")]
public string AlarmAddr { get; set; }
[Column("model_id")]
[DisplayName(" ")]
public int? ModelId { get; set; }
[Column("group_no")]
[DisplayName(" ")]
public int? GroupNo { get; set; }
[Column("tray_type")]
[DisplayName(" ")]
public string TrayType { get; set; }
[Column("order_seq")]
[DisplayName(" ")]
public int? OrderSeq { get; set; }
[Column("layer")]
[DisplayName(" ")]
public int? Layer { get; set; }
[Column("tray_type_list")]
[DisplayName(" ")]
public string TrayTypeList { get; set; }
[Column("is_alarm")]
[DisplayName(" ")]
public string IsAlarm { get; set; }
#region 扩展字段
[NotMapped]
[Column("model_name")]
[DisplayName(" ")]
public string ModelName { get; set; }
[NotMapped]
[Column("model_desc")]
[DisplayName(" ")]
public string ModelDesc { get; set; }
[NotMapped]
[Column("as_roll_type")]
[DisplayName(" ")]
public string AsRollType { get; set; }
[NotMapped]
[Column("as_tray_type")]
[DisplayName(" ")]
public string AsTrayType { get; set; }
[NotMapped]
[Column("type_id")]
[DisplayName(" ")]
public string TypeId { get; set; }
#endregion
}
}