using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.DB.Models;
namespace WIDESEA_Model.Models
{
///
/// 客户信息
///
[SugarTable(nameof(Dt_CustomerInfo), "客户信息")]
public class Dt_CustomerInfo : BaseEntity
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 客户编码
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "客户编码")]
public string CustomerCode { get; set; }
///
/// 客户全称
///
[SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "客户全称")]
public string CustomerName { get; set; }
///
/// 客户简称
///
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "客户简称")]
public string ShortName { get; set; }
///
/// 状态
///
[SugarColumn(IsNullable = false, ColumnDescription = "状态")]
public int Status { get; set; }
///
/// 出库规则
///
[SugarColumn(IsNullable = false, ColumnDescription = "出库规则")]
public int OutRule { get; set; }
}
}