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.
72 lines
1.8 KiB
72 lines
1.8 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using System.Runtime.Serialization;
|
|
|
|
#nullable disable
|
|
|
|
namespace AMESCoreStudio.WebApi.Models.AMES
|
|
{
|
|
/// <summary>
|
|
/// 標籤列印本細項
|
|
/// </summary>
|
|
[Table("LABEL_RPRINT_DETAIL", Schema = "JHAMES")]
|
|
[DataContract]
|
|
public class LabelRPrintDetail
|
|
{
|
|
/// <summary>
|
|
/// ID
|
|
/// </summary>
|
|
[Key]
|
|
[Column("LABEL_RPRINT_DETAIL_ID")]
|
|
[DataMember]
|
|
[Required(ErrorMessage = "{0},不能空白")]
|
|
public int LabelRPrintDetailID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 樣版ID
|
|
/// </summary>
|
|
[Column("LABEL_RPRINT_ID")]
|
|
[DataMember]
|
|
[Required(ErrorMessage = "{0},不能空白")]
|
|
public int LabelRPrintID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 標籤檔案ID
|
|
/// </summary>
|
|
///
|
|
[Column("LABEL_FIELD_ID")]
|
|
[DataMember]
|
|
[Required(ErrorMessage = "{0},不能空白")]
|
|
public int LabelFieldID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 標籤檔案ID
|
|
/// </summary>
|
|
///
|
|
[Column("LABEL_FIELD_VALUE")]
|
|
[DataMember]
|
|
[Required(ErrorMessage = "{0},不能空白")]
|
|
public string LabelFieldValue { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 建立日
|
|
/// </summary>
|
|
[Required]
|
|
[Column("CREATE_DATE")]
|
|
[DataMember]
|
|
public DateTime CreateDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 建立人
|
|
/// </summary>
|
|
[Column("CREATE_USERID")]
|
|
[DataMember]
|
|
public int CreateUserID { get; set; }
|
|
|
|
}
|
|
}
|
|
|