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.

90 lines
2.1 KiB
C#

using Estsh.Core.Base;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
namespace Estsh.Core.Models
{
/// <summary>
/// ,数据实体对象
/// </summary>
[Table("sys_part_sn_rule")]
[Serializable]
public class SysPartSnRule : BaseEntity
{
[Column("ruid")]
[DisplayName(" ")]
public int Ruid { get; set; }
[Column("part_id")]
[DisplayName(" ")]
public int PartId { get; set; }
[Column("lenght")]
[DisplayName(" ")]
public int Lenght { get; set; }
[Column("from1")]
[DisplayName(" ")]
public int From1 { get; set; }
[Column("to1")]
[DisplayName(" ")]
public int To1 { get; set; }
[Column("fix1")]
[DisplayName(" ")]
public string Fix1 { get; set; }
[Column("from2")]
[DisplayName(" ")]
public int? From2 { get; set; }
[Column("to2")]
[DisplayName(" ")]
public int? To2 { get; set; }
[Column("fix2")]
[DisplayName(" ")]
public string Fix2 { get; set; }
[Column("type")]
[DisplayName(" ")]
public string Type { get; set; }
[Column("is_validate_unique")]
[DisplayName(" ")]
public string IsValidateUnique { get; set; }
[Column("is_validate_length")]
[DisplayName(" ")]
public string IsValidateLength { get; set; }
[Column("ext_rule")]
[DisplayName(" ")]
public string ExtRule { get; set; }
[Column("atlas_type")]
[DisplayName(" ")]
public string AtlasType { get; set; }
#region 扩展字段
[NotMapped]
[Column("part_no")]
[DisplayName(" ")]
public string PartNo { get; set; }
[NotMapped]
[Column("part_spec")]
[DisplayName("零件描述")]
public string PartSpec { get; set; }
[NotMapped]
[Column("Total")]
[DisplayName(" ")]
public string Total { get; set; }
#endregion
}
}