添加项目文件。
This commit is contained in:
35
Atomx.Common/Entities/CorporationManufacturerRelation.cs
Normal file
35
Atomx.Common/Entities/CorporationManufacturerRelation.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Atomx.Common.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 企业供应商关系
|
||||
/// </summary>
|
||||
[Table("CorporationManufacturerRelations")]
|
||||
public class CorporationManufacturerRelation
|
||||
{
|
||||
/// <summary>
|
||||
/// 产品属性关联数据ID
|
||||
/// </summary>
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
[Key]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 企业ID
|
||||
/// </summary>
|
||||
public long CorporationId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 供应制造商ID
|
||||
/// </summary>
|
||||
public long ManufacturerId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Column(TypeName = "timestamptz")]
|
||||
public DateTime CreateTime { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user