You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.2 KiB
51 lines
1.2 KiB
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace AMESCoreStudio.WebApi.Models.AMES
|
|
{
|
|
/// <summary>
|
|
/// 用户资料表
|
|
/// </summary>
|
|
[Table("FACTORY_UNIT", Schema = "JHAMES")]
|
|
[DataContract]
|
|
public class FactoryUnit
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[Key]
|
|
[Column("UNIT_NO")]
|
|
[DataMember]
|
|
public string UnitNO { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[Column("UNIT_NAME")]
|
|
[DataMember]
|
|
[Required(ErrorMessage = "{0},不能空白")]
|
|
[Display(Name = "")]
|
|
public string UnitName { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[Column("UNIT_CODE")]
|
|
[DataMember]
|
|
[Required(ErrorMessage = "{0},不能空白")]
|
|
[Display(Name = "")]
|
|
public string UnitCode { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[Column("SEQ")]
|
|
[DataMember]
|
|
[Required(ErrorMessage = "{0},不能空白")]
|
|
[Display(Name = "")]
|
|
public decimal SEQ { get; set; }
|
|
|
|
}
|
|
}
|
|
|