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.
68 lines
2.2 KiB
68 lines
2.2 KiB
1 year ago
|
using System;
|
||
|
using System.ComponentModel;
|
||
|
using System.ComponentModel.DataAnnotations;
|
||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
using CK.SCP.Models.Attributes;
|
||
|
using CK.SCP.Models.Base;
|
||
|
|
||
|
using CK.SCP.Models.ExchangeCenterTables;namespace CK.SCP.Models.DataCenterTables
|
||
|
{
|
||
|
[Description("�ͻ�������")]
|
||
|
public class TS_CUSTOMER_PART : IUpdatableTable, ISoftDelete
|
||
|
{
|
||
|
[Required(ErrorMessage = "���벻��Ϊ��")]
|
||
|
[Index("IndexCustomerPart", Order = 0, IsUnique = true, IsClustered = false)]
|
||
|
[IsDataGridColum(true, 1)]
|
||
|
[Description("�ͻ�/�����")]
|
||
|
[StringLength(50)]
|
||
|
public string CustomerShipto { get; set; }
|
||
|
[IsDataGridColum(true, 2)]
|
||
|
[Description("�ͻ���Ŀ")]
|
||
|
[StringLength(50)]
|
||
|
public string CustomerPart { get; set; }
|
||
|
[IsDataGridColum(true, 3)]
|
||
|
[Description("���Ϻ�")]
|
||
|
[StringLength(50)]
|
||
|
public string PartCode { get; set; }
|
||
|
[IsDataGridColum(true, 4)]
|
||
|
[Description("��ע")]
|
||
|
[StringLength(50)]
|
||
|
public string Comment { get; set; }
|
||
|
[IsDataGridColum(true, 5)]
|
||
|
[Description("��ʾ�ͻ�����")]
|
||
|
[StringLength(50)]
|
||
|
public string DisplayCustomerPart { get; set; }
|
||
|
[IsDataGridColum(true, 6)]
|
||
|
[Description("�ͻ����Ϲ��̱�������")]
|
||
|
[StringLength(50)]
|
||
|
public string CustomerPartEcoNbr { get; set; }
|
||
|
|
||
|
|
||
|
[Key]
|
||
|
public Guid GUID { get; set; } = Guid.NewGuid();
|
||
|
|
||
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||
|
public int UID { get; set; }
|
||
|
[IsDataGridColum(true, 7)]
|
||
|
[Description("������")]
|
||
|
[StringLength(50)]
|
||
|
public string CreateUser { get; set; }
|
||
|
[IsDataGridColum(true, 8)]
|
||
|
[Description("����ʱ��")]
|
||
|
public DateTime CreateTime { get; set; }
|
||
|
|
||
|
[IsDataGridColum(true, 9)]
|
||
|
[Description("��ע")]
|
||
|
public string Remark { get; set; }
|
||
|
[IsDataGridColum(true, 10)]
|
||
|
[Description("����")]
|
||
|
[StringLength(50)]
|
||
|
public string UpdateUser { get; set; }
|
||
|
|
||
|
[Description("��ʱ��")]
|
||
|
public DateTime? UpdateTime { get; set; }
|
||
|
|
||
|
[Description("��ɾ��")]
|
||
|
public bool IsDeleted { get; set; }
|
||
|
}
|
||
|
}
|