| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- using Microsoft.EntityFrameworkCore;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.ComponentModel.DataAnnotations;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Business.Domain
- {
- /// <summary>
- /// 标准物料规格型号设置表
- /// </summary>
- [Comment("标准物料规格型号设置表")]
- [Index(nameof(Model), nameof(tenant_id), nameof(factory_id), IsUnique = true)]
- public class StandardItemModelSet
- {
- /// <summary>
- /// 主键
- /// </summary>
- [Comment("主键")]
- [Key]
- [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
- public long Id { get; set; }
- /// <summary>
- /// 规格型号
- /// </summary>
- [Comment("规格型号")]
- public string Model { get; set; }
- /// <summary>
- /// 物料编码
- /// </summary>
- [Comment("物料编码")]
- public string ItemNumber { get; set; }
- /// <summary>
- /// 集团id
- /// </summary>
- [Comment("集团id")]
- public long tenant_id { get; set; }
- /// <summary>
- /// 工厂id
- /// </summary>
- [Comment("工厂id")]
- public long factory_id { get; set; }
- /// <summary>
- /// 创建时间
- /// </summary>
- [Comment("创建时间")]
- public DateTime CreateTime { get; set; }
- }
- }
|