using Newtonsoft.Json;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.Model.Base;
namespace Yi.Framework.Model.ERP.Entitys
{
///
/// 单位定义
///
[SugarTable("Unit")]
public class UnitEntity : IEntity, IMultiTenant
{
///
/// 主键
///
[JsonConverter(typeof(ValueToStringConverter))]
[SugarColumn(IsPrimaryKey = true)]
public long Id { get; set; }
///
/// 租户id
///
public Guid? TenantId { get; set; }
///
/// 单位编码
///
public string Code { get; set; }
///
/// 单位名称
///
public string Name { get; set; }
///
/// 备注
///
public string Remarks { get; set; }
}
}