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.

62 lines
1.6 KiB
C#

using Estsh.Core.Base;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
namespace Estsh.Core.Model.ExcelModel
{
/// <summary>
///条码特征定义
/// </summary>
[Serializable]
public class PartSNRuleDefine
{
[Column("part_no")]
[DisplayName("零件号")]
public string PartNo { get; set; }
[Column("type")]
[DisplayName("类型")]
public string Type { get; set; }
[Column("lenght")]
[DisplayName("条码长度")]
public string lenght { get; set; }
[Column("from1")]
[DisplayName("开始位置1")]
public string From1 { get; set; }
[Column("to1")]
[DisplayName("结束位置1")]
public string To1 { get; set; }
[Column("fix1")]
[DisplayName("固定字符1")]
public string Fix1 { get; set; }
[Column("from2")]
[DisplayName("开始位置2")]
public string From2 { get; set; }
[Column("to2")]
[DisplayName("结束位置2")]
public string To2 { get; set; }
[Column("fix2")]
[DisplayName("固定字符2")]
public string Fix2 { get; set; }
[Column("part_spec")]
[DisplayName("零件描述")]
public string PartSpec { get; set; }
[Column("is_validate_unique")]
[DisplayName("校验唯一性")]
public string IsValidateUnique { get; set; }
[Column("is_validate_length")]
[DisplayName("校验长度")]
public string IsValidateLength { get; set; }
}
}