Files
FATrace/FATrace.Model/OEMRawUse.cs

70 lines
2.0 KiB
C#

using FreeSql.DataAnnotations;
namespace FATrace.Model
{
/// <summary>
/// OEM原料使用信息
/// </summary>
[Table(Name = "OEMRawUse")]
public class OEMRawUse
{
/// <summary>
/// 主键
/// </summary>
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
/// <summary>
/// 内袋二维码
/// </summary>
[Column(Name = "InBagCode", IsNullable = false, StringLength = 100)]
public string? InBagCode { get; set; }
/// <summary>
/// 原料名称
/// </summary>
[Column(Name = "RawName", IsNullable = false, StringLength = 100)]
public string? RawName{ get; set; }
/// <summary>
/// 视频链接
/// </summary>
[Column(Name = "VideoUrl", IsNullable = false, StringLength = 256)]
public string? VideoUrl{ get; set; }
/// <summary>
/// 用户信息
/// </summary>
[Column(Name = "User", IsNullable = false, StringLength = 100)]
public string? User { get; set; }
/// <summary>
/// URl状态
/// </summary>
[Column(Name = "UrlState", IsNullable = false)]
public bool UrlState { get; set; }
///// <summary>
///// 视频信息
///// </summary>
//[Column(Name = "User", IsNullable = false, StringLength = 100)]
//public VideoAction? VideoAction { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Column(ServerTime = DateTimeKind.Local, CanUpdate = true)]
public DateTime CreateTime { get; set; }
/// <summary>
/// ///////////////////////////////////////////导航属性 LIN 一对一///////////////////////////////////////////////////////
/// </summary>
public long VideoActionId { get; set; } // 外键字段,必要
/// <summary>
/// 视频信息
/// </summary>
public VideoAction? VideoAction { get; set; }
}
}