Ames 昶亨 專案
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.
 
 
 
 
 

83 lines
2.5 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.Web.ViewModels.WHS
{
public partial class WHS025ViewModel
{
public int WorkingStandardID { get; set; }
[Required(ErrorMessage = "{0},不能空白")]
[Display(Name = "報工生產單位")]
public string WorkingUnitNo { get; set; }
public List<int> WorkingLineIDs { get; set; }
[Display(Name = "報工生產線別")]
public int WorkingLineID { get; set; }
[Display(Name = "報工生產站別")]
public int WorkingStationID { get; set; }
[Required(ErrorMessage = "{0},不能空白")]
[Display(Name = "途程生產單位")]
public string UnitNo { get; set; }
[Required(ErrorMessage = "{0},不能空白")]
[Display(Name = "工程編號")]
public string ItemNo { get; set; }
[Required(ErrorMessage = "{0},不能空白")]
[Display(Name = "正背面")]
public string Side { get; set; }
[Required(ErrorMessage = "{0},不能空白")]
[Display(Name = "標準人力")]
public int OpCnt { get; set; }
[Required(ErrorMessage = "{0},不能空白")]
[Display(Name = "標準工時(分)")]
public int Ct { get; set; }
[Required(ErrorMessage = "{0},不能空白")]
[Display(Name = "對應途程站別ID")]
public string StationID { get; set; }
[Required(ErrorMessage = "{0},不能空白")]
[Display(Name = "作業機台數")]
public int MachineCnt { get; set; }
[Required(ErrorMessage = "{0},不能空白")]
[Display(Name = "備註")]
public string Remark { get; set; }
public int CreateUserID { get; set; }
public DateTime CreateDate { get; set; }
public int UpdateUserID { get; set; }
public DateTime UpdateDate { get; set; }
[Display(Name = "報工生產單位")]
// 顯示用欄位
public string WorkingUnitName { get; set; }
[Display(Name = "報工生產線別")]
public string WorkingLineName { get; set; }
[Display(Name = "報工生產站別")]
public string WorkingStationName { get; set; }
[Display(Name = "途程生產單位")]
public string UnitName { get; set; }
}
}