wistroni40-bnft
Version:
Benefit platform parameters publish job template
54 lines (50 loc) • 1.15 kB
text/typescript
/**
* 專案名稱: @wistroni40/bnft
* 部門代號: ML8100
* 檔案說明: 效益激活系統資料模型
* @CREATE Fri Jan 22 2021 上午8:26:21
* @author Steve Y Lin
* @contact Steve_Y_Lin@wistron.com #1342
* -----------------------------------------------------------------------------
* @NOTE
*/
import { BenefitActivedSystemModel, BenefitPlantModel } from '../custom';
/**
* 效益激活系統資料模型
*/
export class BenefitActivedSystem implements BenefitActivedSystemModel {
/**
* 流水號(主鍵)
*/
public id?: number;
/**
* 激活時間
*/
public active_time = new Date();
/**
* 維護時間
*/
public maintenance_time = new Date();
/**
* 維護人員工號
*/
public maintenance_user_id = '';
/**
* 廠別ID
*/
public plant_id?: string;
/**
* 系統ID
*/
public system_id?: string;
/**
* 廠別關聯
*/
public benefitPlant?: BenefitPlantModel;
/**
* @param data 效益激活系統資料
*/
constructor(data?: BenefitActivedSystemModel) {
Object.assign(this, data);
}
}