You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
974 B
41 lines
974 B
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace EFCoreDatabase.Entities
|
|
{
|
|
[Table("RESERVE_CELL")]
|
|
public class RESERVE_CELL
|
|
{
|
|
/// <summary>
|
|
/// 自增ID
|
|
/// </summary>
|
|
[Column("ID")]
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int ID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 货位编码
|
|
/// </summary>
|
|
[Column("CELL_CODE")]
|
|
public string CELL_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 货位ID
|
|
/// </summary>
|
|
[Column("CELL_ID")]
|
|
public int CELL_ID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 设备编码
|
|
/// </summary>
|
|
[Column("DEVICE_CODE")]
|
|
public string DEVICE_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 标志位
|
|
/// </summary>
|
|
[Column("FLAG")]
|
|
public int FLAG { get; set; }
|
|
}
|
|
}
|